﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BangleCMS.DBUtility;

namespace BangleCMS.DAL
{
    /// <summary>
    /// 数据访问类:sys_rolemenuDAL
    /// </summary>
    public partial class sys_rolemenuDAL
    {
        /// <summary>
        /// 删除一条数据
        /// </summary>
        public bool Delete(string strWhere)
        {

            StringBuilder strSql = new StringBuilder();
            strSql.Append("delete from sys_rolemenu ");
            strSql.Append(" where " + strWhere);

            int rows = DbHelperMySQL.ExecuteSql(strSql.ToString());
            if (rows > 0)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
    }
}
